package com.itfreer.xjmh.temporary.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itfreer.form.api.entity.EntityBase;
import com.itfreer.form.api.reflect.DictionaryField;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 定义公安工作数据实体
 */
@Entity(name = "t_temp_police")
public class TemporaryPoliceEntity extends EntityBase implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@Id
	@Column(name = "id", length = 50, nullable = true)
	private String id;

	/**
	 * 所属机场---字典
	 */
	@Column(name = "airport", length = 50, nullable = true)
	@DictionaryField(dictionaryName = "zd_airport", toFieldName = "airportName")
	private String airport;

	@Column(name = "airport_name", length = 50, nullable = true)
	private String airportName;
	
	/**
	 * 出动公安警力(人次)
	 */
	@Column(name = "send_police", nullable = true)
	private Integer sendpolice;
	
	/**
	 * 巡逻盘查人员(人次)
	 */
	@Column(name = "patrol_person", nullable = true)
	private Integer patrolperson;
	
	/**
	 * 检查车辆(辆)
	 */
	@Column(name = "check_car", nullable = true)
	private Integer checkcar;
	
	/**
	 * 查获违禁物品(件)
	 */
	@Column(name = "ban_goods", nullable = true)
	private Integer bangoods;
	
	/**
	 * 查获各类治安案件(件)
	 */
	@Column(name = "security_case", nullable = true)
	private Integer securitycase;
	
	/**
	 * 查获各类刑事案件(件)
	 */
	@Column(name = "criminal_case", nullable = true)
	private Integer criminalcase;
	
	/**
	 * 抓获违法犯罪人员(人)
	 */
	@Column(name = "criminal_person", nullable = true)
	private Integer criminalperson;
	
	/**
	 * 查获涉恐人员(人)
	 */
	@Column(name = "terrorist_person", nullable = true)
	private Integer terroristperson;
	
	/**
	 * 查获涉XX上访人员(人)
	 */
	@Column(name = "up_person", nullable = true)
	private Integer upperson;
	
	/**
	 * 查获网上在逃人员(人)
	 */
	@Column(name = "escape_person", nullable = true)
	private Integer escapeperson;
	
	/**
	 * 查获邪教人员(人)
	 */
	@Column(name = "cult_person", nullable = true)
	private Integer cultperson;
	
	/**
	 * 检查各类安全隐患(起)
	 */
	@Column(name = "hide_danger", nullable = true)
	private Integer hidedanger;
	

	/**
	 * 租户ID
	 */
	@Column(name = "s_tenantID", length = 50, nullable = true)
	private String tenantID;

	/**
	 * 租户名称
	 */
	@Column(name = "s_tenantName", length = 50, nullable = true)
	private String tenantName;


	/**
	 * 创建人ID
	 */
	@Column(name = "s_createUserid", length = 50, nullable = true)
	private String createUserid;
	
	/**
	 * 创建人
	 */
	@Column(name = "s_createUsername", length = 50, nullable = true)
	private String createUsername;
	
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd", locale="zh", timezone="GMT+8")
	@Column(name = "s_createTime", nullable = true)
	private java.util.Date createTime;

	/**
	 * 临时工作时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd", locale="zh", timezone="GMT+8")
	@Column(name = "s_temporaryTime", nullable = true)
	private java.util.Date temporaryTime;


	/**
	 * 主键
	 */
	@Override
	public String getId() {
		return id;
	}

	/**
	 * 主键
	 */
	@Override
	public void setId(String value) {
		this.id = value;
	}
	
	
	/**
	 * 出动公安警力(人次)
	 */
	public Integer getSendpolice() {
		return sendpolice;
	}

	/**
	 * 出动公安警力(人次)
	 */
	public void setSendpolice(Integer value) {
		this.sendpolice = value;
	}
	/**
	 * 巡逻盘查人员(人次)
	 */
	public Integer getPatrolperson() {
		return patrolperson;
	}

	/**
	 * 巡逻盘查人员(人次)
	 */
	public void setPatrolperson(Integer value) {
		this.patrolperson = value;
	}
	/**
	 * 检查车辆(辆)
	 */
	public Integer getCheckcar() {
		return checkcar;
	}

	/**
	 * 检查车辆(辆)
	 */
	public void setCheckcar(Integer value) {
		this.checkcar = value;
	}
	/**
	 * 查获违禁物品(件)
	 */
	public Integer getBangoods() {
		return bangoods;
	}

	/**
	 * 查获违禁物品(件)
	 */
	public void setBangoods(Integer value) {
		this.bangoods = value;
	}
	/**
	 * 查获各类治安案件(件)
	 */
	public Integer getSecuritycase() {
		return securitycase;
	}

	/**
	 * 查获各类治安案件(件)
	 */
	public void setSecuritycase(Integer value) {
		this.securitycase = value;
	}
	/**
	 * 查获各类刑事案件(件)
	 */
	public Integer getCriminalcase() {
		return criminalcase;
	}

	/**
	 * 查获各类刑事案件(件)
	 */
	public void setCriminalcase(Integer value) {
		this.criminalcase = value;
	}
	/**
	 * 抓获违法犯罪人员(人)
	 */
	public Integer getCriminalperson() {
		return criminalperson;
	}

	/**
	 * 抓获违法犯罪人员(人)
	 */
	public void setCriminalperson(Integer value) {
		this.criminalperson = value;
	}
	/**
	 * 查获涉恐人员(人)
	 */
	public Integer getTerroristperson() {
		return terroristperson;
	}

	/**
	 * 查获涉恐人员(人)
	 */
	public void setTerroristperson(Integer value) {
		this.terroristperson = value;
	}
	/**
	 * 查获涉XX上访人员(人)
	 */
	public Integer getUpperson() {
		return upperson;
	}

	/**
	 * 查获涉XX上访人员(人)
	 */
	public void setUpperson(Integer value) {
		this.upperson = value;
	}
	/**
	 * 查获网上在逃人员(人)
	 */
	public Integer getEscapeperson() {
		return escapeperson;
	}

	/**
	 * 查获网上在逃人员(人)
	 */
	public void setEscapeperson(Integer value) {
		this.escapeperson = value;
	}
	/**
	 * 查获邪教人员(人)
	 */
	public Integer getCultperson() {
		return cultperson;
	}

	/**
	 * 查获邪教人员(人)
	 */
	public void setCultperson(Integer value) {
		this.cultperson = value;
	}
	/**
	 * 检查各类安全隐患(起)
	 */
	public Integer getHidedanger() {
		return hidedanger;
	}

	/**
	 * 检查各类安全隐患(起)
	 */
	public void setHidedanger(Integer value) {
		this.hidedanger = value;
	}

	public String getAirport() {
		return airport;
	}

	public void setAirport(String airport) {
		this.airport = airport;
	}

	public String getAirportName() {
		return airportName;
	}

	public void setAirportName(String airportName) {
		this.airportName = airportName;
	}

	/**
	 * 租户ID
	 */
	@Override
	public String getTenantID() {
		return tenantID;
	}
	
	/**
	 * 租户ID
	 */
	@Override
	public void setTenantID(String tenantID) {
		this.tenantID = tenantID;
	}

	/**
	 * 租户名称
	 */
	@Override
	public String getTenantName() {
		return tenantName;
	}
	
	/**
	 * 租户名称
	 */
	@Override
	public void setTenantName(String tenantName) {
		this.tenantName = tenantName;
	}


	/**
	 * 设置创建时间值
	 */
	@Override
	public void setCreateTime(java.util.Date time) {
		this.createTime = time;
	}
	
	public java.util.Date getCreateTime() {
		return this.createTime;
	}

	/**
	 * 设置创建人值
	 */
	@Override
	public void setCreateUserID(String userID) {
		this.createUserid = userID;
	}
	
	public String getCreateUserID() {
		return this.createUserid;
	}

	/**
	 * 设置创建人值
	 */
	@Override
	public void setCreateUserName(String userName) {
		this.createUsername = userName;
	}
	
	public String getCreateUserName() {
		return this.createUsername;
	}


	public Date getTemporaryTime() {
		return temporaryTime;
	}

	public void setTemporaryTime(Date temporaryTime) {
		this.temporaryTime = temporaryTime;
	}
}
